package org.flower.entity;

import java.util.Date;

/**
 * 订单实体类
 */
public class Order {
    /**
     * 编号
     */
    private String id;
    /**
     * 收获名称
     */
    private String shouName;
    /**
     * 收获手机号
     */
    private String shouPhone;
    /**
     * 收获地址
     */
    private String shouAddress;
    /**
     * 订货人名称
     */
    private String dingName;
    /**
     * 订货人手机号
     */
    private String dingPhone;
    /**
     * 送达时间
     */
    private Date serviceDate;
    /**
     * 贺卡留言
     */
    private String greetingCardMsg;
    /**
     * 备注
     */
    private String content;
    /**
     * 优惠券编号
     */
    private String couId;
    /**
     * 应付金额
     */
    private double copewithPrice;
    /**
     * 实付金额
     */
    private double paidinPrice;
    /**
     * 订单状态
     */
    private int orderState;
    /**
     * 用户编号
     */
    private int userId;
    /**
     * 订单生成时间
     */
    private Date orderDate;

    public Order() { }

    public Order(String id, String shouName, String shouPhone,
                 String shouAddress, String dingName, String dingPhone,
                 Date serviceDate, String greetingCardMsg, String content,
                 String couId, double copewithPrice, double paidinPrice,int orderState,
                 int userId, Date orderDate) {
        this.id = id;
        this.shouName = shouName;
        this.shouPhone = shouPhone;
        this.shouAddress = shouAddress;
        this.dingName = dingName;
        this.dingPhone = dingPhone;
        this.serviceDate = serviceDate;
        this.greetingCardMsg = greetingCardMsg;
        this.content = content;
        this.couId = couId;
        this.copewithPrice = copewithPrice;
        this.paidinPrice = paidinPrice;
        this.orderState = orderState;
        this.userId = userId;
        this.orderDate = orderDate;
    }

    public int getOrderState() {
        return orderState;
    }

    public void setOrderState(int orderState) {
        this.orderState = orderState;
    }

    public String getId() {
        return id;
    }

    public String getShouName() {
        return shouName;
    }

    public String getShouPhone() {
        return shouPhone;
    }

    public String getShouAddress() {
        return shouAddress;
    }

    public String getDingName() {
        return dingName;
    }

    public String getDingPhone() {
        return dingPhone;
    }

    public Date getServiceDate() {
        return serviceDate;
    }

    public String getGreetingCardMsg() {
        return greetingCardMsg;
    }

    public String getContent() {
        return content;
    }

    public String getCouId() {
        return couId;
    }

    public double getCopewithPrice() {
        return copewithPrice;
    }

    public double getPaidinPrice() {
        return paidinPrice;
    }

    public int getUserId() {
        return userId;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setShouName(String shouName) {
        this.shouName = shouName;
    }

    public void setShouPhone(String shouPhone) {
        this.shouPhone = shouPhone;
    }

    public void setShouAddress(String shouAddress) {
        this.shouAddress = shouAddress;
    }

    public void setDingName(String dingName) {
        this.dingName = dingName;
    }

    public void setDingPhone(String dingPhone) {
        this.dingPhone = dingPhone;
    }

    public void setServiceDate(Date serviceDate) {
        this.serviceDate = serviceDate;
    }

    public void setGreetingCardMsg(String greetingCardMsg) {
        this.greetingCardMsg = greetingCardMsg;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setCouId(String couId) {
        this.couId = couId;
    }

    public void setCopewithPrice(double copewithPrice) {
        this.copewithPrice = copewithPrice;
    }

    public void setPaidinPrice(double paidinPrice) {
        this.paidinPrice = paidinPrice;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }
}
